package com.marvels.dubbo.coreservice.service;

import java.util.List;
import java.util.Map;

import com.dragon.loan.entity.AcUserBank;
import com.dragon.loan.entity.McamAcLoanApplyBdInfo;
import com.dragon.loan.entity.McamAcLoanApplyImageInfo;
import com.marvels.approve.loan.dto.McamLoanApplyInfoDTO;
import com.marvels.dubbo.coreservice.controller.LoanApplyContactInfoDTO;
import com.marvels.dubbo.coreservice.dto.LoanExtInfoDTO;

public interface ILoanApplyInfoService {

	public McamLoanApplyInfoDTO findLoanApplyInfo(String loanId) throws Exception;

	public List<McamAcLoanApplyBdInfo> findLoanApplyBdInfo(String loanId) throws Exception;

	public List<McamAcLoanApplyImageInfo> findLoanApplyImageInfo(String loanId) throws Exception;
	
	/**
	 * 同步联系人
	 * @param loanId
	 * @return
	 */
	public List<LoanApplyContactInfoDTO> queryLinkmanList(String loanId);
	/**
	 * 分页查询贷款信息
	 * @param map
	 * @return
	 */
	public Map<String,Object> queryLoanInfoByCondition(Map<String,Object> map);
	/**
	 * 获取银行卡信息
	 * @param paramMap
	 * @return
	 */
	public List<AcUserBank> selectUserBankInfo(Map<String,Object> paramMap);

	/**
	 * 根据loanId查询进件扩展信息
	 * @param loanId
	 * @return
	 */
	public LoanExtInfoDTO queryExtInfoByLoanId(String loanId);
	
	/**
	 * 修改进件审批金额
	 * @param loanId
	 * @param loanMoneyAct
	 */
	public void updateLoanMoneyAct(String loanId, String loanMoneyAct);
	
	/**
	 * 进件节点流转 
	 * @param loanId
	 * @param result yes通过，no拒绝
	 */
	public void loanNodeFlow(String loanId, String result);
}
